import api from '$api';


/**
 * 退出登录
 * 
 */
export const checkMail = (email) =>
    api.get(`/nologon/user/checkemail?email=${email}`).then(res => {
        // console.log('邮箱校验 ===> ', res.data);
        return res.data.code === 1 ? true : false;
    });


